// import {getUserInfo} from "@/api/system";

const movie = {
    state: {
        currentMovie:{},
        cinemaInfo:{},
        movieShowInfo:{}
    },
    mutations: {
        setCurrentMovie(state, current){
            state.currentMovie = current.currentMovie
            state.cinemaInfo = current.cinemaInfo
        }
    },
    actions: {
        // GetUserInfo({commit}){
        //     return new Promise((resolve, reject) =>{
        //         getUserInfo().then(res =>{
        //             commit('setInfo',res.data);
        //             resolve(res)
        //         }).catch(err=>{
        //             console.log(err)
        //             reject(err)
        //         })
        //     })
        // }
    },
    getters:{

    }
}

export default movie

